<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%
    String m = request.getParameter("m");
    String n = request.getParameter("n");
    String sum = request.getParameter("sum");
    if (m == null) {
        m = "";
    }
    if (n == null) {
        n = "";
    }
    if (sum == null) {
        sum = "";
    }
    int s = Integer.parseInt(sum);
    if(s%2==0){
        out.write(s+"是偶数");
    }else{
        out.write(s+"是奇数");
    }
%>
<br/>
<a href="1-3-3.jsp?m=<%=m%>&n=<%=n%>">跳转到下个jsp</a>
</body>
</html>
